{include file="style_header.tpl"}  
<div align="center">
    <table class="border" summary="جدول" cellspacing="0" width="400">
      <tr>
        <td class="row1" width="30%">الاسم :</td>
        <td class="row1" width="70%">{$row.name}</td>
      </tr>
      <tr>
        <td class="row1" width="30%">البريد الالكتروني :</td>
        <td class="row1" width="70%">{$row.email}</td>
      </tr>
      <tr>
        <td class="row1" width="30%">عنوان الرسالة :</td>
        <td class="row1" width="70%">{$row.title}</td>
      </tr>
      <tr>
        <td class="row1" width="30%">الرسالة :</td>
        <td class="row1" width="70%" align="right" height="18">{$row.message|nl2br}</td>
      </tr>
      <tr>
        <td class="row1" width="30%">المرفقات :</td>
        <td class="row1" width="70%">{$attach}</td>
      </tr>
      <tr>
        <td class="row2" clospan="2">
         <form name="del" action="?delmsg=2" method="POST">
          <input name="id" type="hidden" value="{$row.id}">
          <input name="attach" type="hidden" value="{$attachname}">
          <div align="center"><input class="button" type="submit" value="حذف الرسالة">
         </form>
        </td>
      </tr>
    </table>
  </div>

  <br />

<form enctype="multipart/form-data" method="POST" action="?reply=1&id={$row.id}">
  <div align="center">
    <table class="border" summary="جدول" cellspacing="0" width="400">
      <tr>
        <td class="row2" clospan="2">رد على الرسالة</td>
      </tr>
      <tr>
        <td class="row1" width="30%">الاسم :</td>
        <td class="row1" width="70%"><input type="text" value="{$row.name}" name="contactus_name" size="30"></td>
      </tr>
      <tr>
        <td class="row1" width="30%">البريد الالكتروني :</td>
        <td class="row1" width="70%"><input type="text" name="contactus_email" value="{$row.email}" size="30" dir="ltr"></td>
      </tr>
      <tr>
        <td class="row1" width="30%">عنوان الرسالة :</td>
        <td class="row1" width="70%">
         <input name="contactus_title" type="text" value="رد : {$row.title}" size="30">
        </td>
      </tr>
      <tr>
        <td class="row1" width="30%">الرسالة :</td>
        <td class="row1" width="70%"><textarea rows="11" name="contactus_message" cols="31"></textarea></td>
      </tr>
      <tr>
        <td class="row1" width="30%">المرفقات :</td>
        <td class="row1" width="70%"><input name="contactus_file" type="file">
        </td>
      </tr>
    </table>
  </div>
  <div align="center"><input class="button" type="submit" value="ارسل" name="contact"></div>
</form>
{include file="style_footer.tpl"}